package chap2_task;
import java.util.Scanner;
public class Task2 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.print("输入英寸数:");
        double a=input.nextDouble();
        double b=a*2.54;
        System.out.println(a+"英寸="+b+"厘米");
}
}
